import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'login',
      component:  resolve => require(['@/pages/login/login'], resolve),
    },
    {
      path: '/login',
      name: 'login',
      component:  resolve => require(['@/pages/login/login'], resolve),
    },
    {
      path: '/register',
      name: 'register',
      component:  resolve => require(['@/pages/login/register'], resolve),
    }
  ]
})
